<!DOCTYPE html>
<html lang="en">

<head>

    {{template "common/head.html" .}}

    <style type="text/css">
        .page-school-contact-info {
            padding: 40px 28px 80px;
        }

        .page-school-contact-info-title {
            margin-bottom: 12px;
        }

        .page-school-contact-info-container {
            background-color: #fff;
            padding: 14px 26px;
        }

        .page-school-contact-info .split-line {
            width: 100%;
            height: 5px;
            background: #fec901;
            -webkit-box-shadow: 0px 0px 9px 0px rgba(119, 119, 119, 0.27);
            box-shadow: 0px 0px 9px 0px rgba(119, 119, 119, 0.27);
            border-radius: 2px;
            margin-bottom: 32px;
        }

        .page-school-contact-info-label {
            -webkit-box-shadow: 3px 2px 9px 0px rgba(145, 124, 24, 0.49);
            box-shadow: 3px 2px 9px 0px rgba(145, 124, 24, 0.49);
            border-radius: 16px;
            background-color: #fff;
            height: 50px;
            position: relative;
            margin-left: 30px;
        }

        .page-school-contact-info-label .avatar {
            position: absolute;
            width: 60px;
            height: 60px;
            border-radius: 100%;
            -webkit-box-shadow: 3px 2px 9px 0px rgba(145, 124, 24, 0.49);
            box-shadow: 3px 2px 9px 0px rgba(145, 124, 24, 0.49);
            padding: 5px;
            background-color: #fff;
            left: -30px;
            top: -7px;
            overflow: hidden;
        }

        .page-school-contact-info-label .avatar img {
            width: 50px;
            height: 50px;
            margin: 0 auto;
            border-radius: 100%;
        }

        .page-school-contact-info-label .text {
            padding: 10px 6px 10px 34px;
            font-size: 10px;
            line-height: 1em;
        }
    </style>

</head>

<body>
    <div class="page-main">
        <div class="page-main-container">
            <div class="child-view page-school-contact-info">
                <div class="ui-pd-l-26 page-school-contact-info-title"><span class="ui-text-28">校园通讯录</span></div>
                <div class="page-school-contact-info-container">
                    {{range .studentList}}
                        <div class="ui-mg-b-30 page-school-contact-info-child-list">
                            <div class="child-name ui-text-20 ui-mg-b-6 ui-pd-l-20">{{.RealName}}</div>
                            <div class="split-line"></div>
                            {{range .TeacherList}}
                                <div class="ui-mg-b-30 page-school-contact-info-label">
                                    <div class="avatar"><img src="/static/front/images/5.jpg" alt="" srcset=""></div>
                                    <div class="text">
                                        <div flex="main:justify" class="ui-mg-b-8">
                                            <span>姓名：{{.RealName}}</span><span>电话：{{.Phone}}</span>
                                        </div>
                                        <div class="subject">所教科目:{{.CourseName}}</div>
                                    </div>
                                </div>
                            {{end}}
                        </div>
                    {{end}}
                </div>
            </div>
        </div>
    </div>
</body>
</html>